Boost
boost
arrow_drop_down
Boost.TypeTraits

This Release

John Maddock
John Maddock
Maintainer

Boost TypeTraits Library

The Boost type-traits library contains a set of very specific traits classes, each of which encapsulate a single trait from the C++ type system; for example, is a type a pointer or a reference type? Or does a type have a trivial constructor, or a const-qualifier?

The type-traits classes share a unified design: each class inherits from the type true_type if the type has the specified property and inherits from false_type otherwise.

The type-traits library also contains a set of classes that perform a specific transformation on a type; for example, they can remove a top-level const or volatile qualifier from a type. Each class that performs a transformation defines a single typedef-member type that is the result of the transformation.

The full documentation is available on boost.org.

Master Develop
Travis Build Status Build Status
Appveyor Build status Build status

Support, bugs and feature requests

Bugs and feature requests can be reported through the Gitub issue tracker (see open issues and closed issues).

You can submit your changes through a pull request.

There is no mailing-list specific to Boost TypeTraits, although you can use the general-purpose Boost mailing-list using the tag [type_traits].

Development

Clone the whole boost project, which includes the individual Boost projects as submodules (see boost+git doc):

git clone https://github.com/boostorg/boost
cd boost
git submodule update --init

The Boost TypeTraits Library is located in libs/type_traits/.

Running tests

First, make sure you are in libs/type_traits/test. You can either run all the tests listed in Jamfile.v2 or run a single test:

../../../b2                        <- run all tests
../../../b2 config_info            <- single test

All Time

Dave Abrahams
Dave Abrahams
Contributor
Peter Dimov
Peter Dimov
Contributor
Beman Dawes
Beman Dawes
Contributor
Douglas Gregor
Douglas Gregor
Contributor
nobody
Contributor
Aleksey Gurtovoy
Contributor
Stephen Kelly
Stephen Kelly
Contributor
Antony Polukhin
Antony Polukhin
Contributor
Edward Diener
Edward Diener
Contributor
Jens Maurer
Jens Maurer
Contributor
Vicente J. Botet Escriba
Vicente J. Botet Escriba
Contributor
Daniel James
Daniel James
Contributor
Glen Fernandes
Glen Fernandes
Contributor
morinmorin
morinmorin
Contributor
Frédéric Bron
Frédéric Bron
Contributor
Alexander Nasonov
Alexander Nasonov
Contributor
Jeremy Siek
Jeremy Siek
Contributor
Ralf W. Grosse-Kunstleve
Contributor
Andrey Semashev
Andrey Semashev
Contributor
Marshall Clow
Marshall Clow
Contributor
Ion Gaztañaga
Ion Gaztañaga
Contributor
Peter Dimov
Peter Dimov
Contributor
Joaquín M. López Muñoz
Joaquín M. López Muñoz
Contributor
Eric Friedman
Contributor
Troy D. Straszheim
Troy D. Straszheim
Contributor
Nikita Kniazev
Nikita Kniazev
Contributor
Thorsten Jørgen Ottosen
Thorsten Jørgen Ottosen
Contributor
Hartmut Kaiser
Hartmut Kaiser
Contributor
Terje Slettebø
Contributor
Edward Diener
Edward Diener
Contributor
Rene Rivera
Rene Rivera
Contributor
Toon Knapen
Toon Knapen
Contributor
Bryce Adelstein-Lelbach
Bryce Adelstein-Lelbach
Contributor
Brian Kuhl
Brian Kuhl
Contributor
Darin Adler
Contributor
rmiller
Contributor
Steven Watanabe
Steven Watanabe
Contributor
Glen Fernandes
Glen Fernandes
Contributor
Markus Schöpflin
Contributor
Vladimir Prus
Vladimir Prus
Contributor
Peder Holt
Peder Holt
Contributor
Jeremiah Willcock
Jeremiah Willcock
Contributor
K-ballo
K-ballo
Contributor
Marcel Raad
Marcel Raad
Contributor
Kohei Takahashi
Kohei Takahashi
Contributor
sdarwin
sdarwin
Contributor
Tobias Loew
Tobias Loew
Contributor
Guillaume Melquiond
Guillaume Melquiond
Contributor
AntonBikineev
AntonBikineev
Contributor
Tanzinul Islam
Tanzinul Islam
Contributor
Alex Henrie
Alex Henrie
Contributor
Alisdair Meredith
Alisdair Meredith
Contributor
Mike Dev
Mike Dev
Contributor
Gennadiy Rozental
Gennadiy Rozental
Contributor
Alexander Grund
Alexander Grund
Contributor
Ed Catmur
Ed Catmur
Contributor
Edward Catmur
Edward Catmur
Contributor
akumta
akumta
Contributor
Gregor Jasny
Gregor Jasny
Contributor
Louis Dionne
Louis Dionne
Contributor
Minmin Gong
Minmin Gong
Contributor
Marcel Raad
Marcel Raad
Contributor
Michael A. Jackson
Michael A. Jackson
Contributor
Stefan Slapeta
Contributor
Bálint Cserni
Bálint Cserni
Contributor
Joel de Guzman
Joel de Guzman
Contributor
Daisuke Sakurai
Daisuke Sakurai
Contributor
zerotypos-found
zerotypos-found
Contributor
scopeInfinity
scopeInfinity
Contributor